package borge.web.teamspirit.client.page.shared.widgets;


import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.VerticalPanel;

public class InputErrorWidget extends BaseWidget {

    private VerticalPanel iPanel;
    
    public InputErrorWidget(String aErrors){
        
        Label errors = new Label();
        errors.setText(aErrors);
        errors.addStyleName("error");
        iPanel = new VerticalPanel();
        iPanel.add(errors);
        
        initWidget(iPanel);
    }
    
}
